package com.dingreading.cloud.soms.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.util.Date;


import lombok.Data;

/**
 * 学科管理表 实体类。
 *
 * @author Administrator
 * @since 2025-11-03
 */
@Data
@Table(value = "agency_staff", dataSource = "ds3")
public class MstAgencyStaff implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;

    @Column(onInsertValue = "now()")
    private Date addTime;

    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    private String addStaffUid;

    private String addStaffName;

    private String lastStaffUid;

    private String lastStaffName;

    private String agencyUid;

    private String staffUid;

    private String staffName;

    private String phone;

    private String encodedPwd;

    private String pwdSalt;

    private String token;

    private String lastLoginTime;

    private Integer enabled;

    private String username;

    private String storeUid;

    private String authApps;

    private String role;

    private String roleName;

    /**
     * 备课目录权限
     */
    private String subjectPermissions;

}
